﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EDTS.WebSites.Services
{
    public class Common
    {
        public static log4net.ILog Logger
        {
            get
            {
                return log4net.LogManager.GetLogger("EDTSLogger");
            }
        }
        /// <summary>
        /// 抛出http异常
        /// </summary>
        /// <param name="code"></param>
        public static void ThrowHttpException(int code)
        {
            throw new HttpException(code, "");
        }
    }
}